package com.atguigu.yygh.user.client;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName PatientFeignClient
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-10-20 11:03
 * @Version 1.0
 */
@FeignClient("service-user")
public interface PatientFeignClient {
    //获取就诊人
    @GetMapping("/api/user/patient/inner/get/{id}")
    Patient getPatient(@PathVariable Long id);
}
